<?php
class Schedule_Model_DbTable_User extends Zend_Db_Table_Abstract
{
	protected $_name = 'schedule_user';
	
	protected $_dependentTables = array(
		'Schedule_Model_DbTable_Event',
    );
    
    protected $_referenceMap    = array(
        'Schedule' => array(
            'columns'           => 'schedule_id',
            'refTableClass'     => 'Schedule_Model_DbTable_Schedule',
            'refColumns'        => 'id',
            'refColumnsAsName'  => 'name',
			'onDelete'			=> self::CASCADE
        )
    );
}